<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<form method="post" class="form-horizontal" id="pub_form" action="{:U('Admin/Task/add_task')}"
			  enctype="multipart/form-data">
				<div class="control-group">
					<label class="span1 control-label" style="width: 90px;">任务名称：</label>
					<div class="span3">
						<input type="text" name="task_name"  style="width: 556px;" value="{$task_info.task_name}">
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 90px;">任务说明：</label>
					<div class="span3">
						<input type="text" name="content"  style="width: 556px;" value="{$task_info.content}">
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 90px;">每日上限：</label>
					<div class="span3">
						<input type="text" name="max_cnt" value="{$task_info.max_cnt}">
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 90px;">每次获得奖励：</label>
					<div class="span3">
						<input type="text" name="amount" value="{$task_info.amount}">
					</div>
				</div>
				<input type="hidden" name="id" value="{$id}">
			<div class="form-actions" style="padding-left:260px;">
				<button type="button" id="quick_publish" class="btn">保存</button>
				&nbsp;&nbsp;
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>

</body>
</html>